package com.ljxt.dt.service.storemanagementservice;

import com.ljxt.dt.vo.PageVO;
import com.ljxt.dt.vo.storemanagement.RepertorySelectVO;
import com.ljxt.dt.vo.storemanagement.RepertoryVO;
import com.ljxt.dt.vo.storemanagement.StockVO;

import java.util.List;

/**
 * @author 唐春劲
 * @version 1.0.0
 * @date 2020-05-20 9:46
 * @copyright 老九学堂
 */

public interface RepertoryService {
    /**
     *
     *   查询符合条件的库存信息
     *
     * @param repertorySelectVO
     * @param pageIndex
     * @param pageSize
     * @return
     */
    PageVO<RepertoryVO> selectRepertory(RepertorySelectVO repertorySelectVO,Integer pageIndex,Integer pageSize);


    /**
     * 根据商品编号得到该商品的所有库存信息
     * @param pageIndex
     * @param pageSize
     * @param id
     * @return
     */
    PageVO getStocks(Integer pageIndex, Integer pageSize, Integer id);
}
